package com.gm.corejava.book1;

import javax.swing.*;
import java.awt.*;

/**
 * Created with IntelliJ IDEA.
 * User: camark@sina.cn
 * Date: 14-1-7
 * Time: &#x4e0b;&#x5348;4:31
 */
public class CalculatorTest {
     public static void main(String[] args) {
             EventQueue.invokeLater(new Runnable() {
                 @Override
                 public void run() {
                     JFrame frame = new CalculatorFrame();
                     frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                     frame.setVisible(true);
                 }
             });
         }
}
